﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Joyintech.Model.inpiao365;
using Joyintech.BLL.inpiao365;

namespace Joyintech.Web.inpiao365.PhenixTicket
{
    public partial class filmshow : System.Web.UI.Page
    {
        /// <summary>
        /// 电影ID
        /// </summary>
        protected string movieid;

        /// <summary>
        /// 电影实体
        /// </summary>
        protected movie movieModel;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack)
                return;
            else
            {
                movieid = Request["movieid"];
                SetMovieModel(movieid);
            }

        }


        private void SetMovieModel(string movieid)
        {
            movie_BLL bll = new movie_BLL()
            ;
            movieModel = bll.GetModelByCache(int.Parse(movieid));
        }
    }
}